Skip to content

Fix the wind fix making the wires nearly static when there's no wind#1122

Open
SnipUndercover wants to merge 1 commit into
EverestAPI:devfrom
SnipUndercover:wire-wind-fix
Open

Fix the wind fix making the wires nearly static when there's no wind#1122
SnipUndercover wants to merge 1 commit into
EverestAPI:devfrom
SnipUndercover:wire-wind-fix

Conversation

@SnipUndercover

Copy link
Copy Markdown
Member

#981 introduced a bug that makes wires basically static when there's no wind if fixWindBehavior is set.
This is because level.WindSine was also being divided by 100f which made it basically insignificant.

This PR changes this by just implementing a ReducedVisualWind property and using a ternary in Render.
image

The changes were tested in Celestecord and confirmed to work as intended.

ironic, huh? i didn't think to check this case

@microlith57 microlith57 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yup that wind sure is reduced (but not too much)

@maddie480-bot maddie480-bot added the 1: review needed This PR needs 2 approvals to be merged (bot-managed) label Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1: review needed This PR needs 2 approvals to be merged (bot-managed)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants